import { MasterServer } from "./MasterServer/MasterServer";
import { masterServerPort } from "./ServerCloudConfig";

// 环境变量配置
// 程序运行的端口 默认 3000
const port = masterServerPort

export const masterServer = new MasterServer({
    port: port
});

// Entry function
async function main() {
    await masterServer.init();
    await masterServer.start();
}
main();

